package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.sql.Types;
import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_tongtian_draw", autoSave = true,uploadCk = true,desc = "激斗通天塔-炼妖壶抽奖")
public class LogClimbTowerDraw extends ServerBaseLog{

    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    int activityId;

    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    long userId;

    @FieldTypeAnnotation(desc = "抽奖次数")
    int times;

    @FieldTypeAnnotation(desc = "消耗灵气")
    int power;

    @FieldTypeAnnotation(desc = "奖励列表")
    String rewards;

    @FieldTypeAnnotation(desc = "变更前灵气")
    int beforePower;

    @FieldTypeAnnotation(desc = "变更后灵气")
    int afterPower;

    @FieldTypeAnnotation(desc = "变更前实力")
    String beforeAbility;

    @FieldTypeAnnotation(desc = "变更后实力")
    String afterAbility;

    @FieldTypeAnnotation(desc = "变更前经验")
    String beforeExp;

    @FieldTypeAnnotation(desc = "变更后经验")
    String afterExp;

    @FieldTypeAnnotation(desc = "盘面结果", sqlType = Types.LONGVARCHAR)
    String panData;

    @FieldTypeAnnotation(desc = "盘面结果", saveJson = true, sqlType = Types.VARCHAR)
    List<Integer> comboIdList;

    @FieldTypeAnnotation(desc = "增加积分")
    int score;



    public LogClimbTowerDraw(int activityId, long userId, int times, int power, String rewards, int beforePower, int afterPower, String beforeAbility, String afterAbility, String beforeExp,
                             String afterExp, int score, String panData, List<Integer> comboIdList) {
        this.activityId = activityId;
        this.userId = userId;
        this.times = times;
        this.power = power;
        this.rewards = rewards;
        this.beforePower = beforePower;
        this.afterPower = afterPower;
        this.beforeAbility = beforeAbility;
        this.afterAbility = afterAbility;
        this.beforeExp = beforeExp;
        this.afterExp = afterExp;
        this.score = score;
        this.panData = panData;
        this.comboIdList = comboIdList;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    public int getBeforePower() {
        return beforePower;
    }

    public void setBeforePower(int beforePower) {
        this.beforePower = beforePower;
    }

    public int getAfterPower() {
        return afterPower;
    }

    public void setAfterPower(int afterPower) {
        this.afterPower = afterPower;
    }

    public String getBeforeAbility() {
        return beforeAbility;
    }

    public void setBeforeAbility(String beforeAbility) {
        this.beforeAbility = beforeAbility;
    }

    public String getAfterAbility() {
        return afterAbility;
    }

    public void setAfterAbility(String afterAbility) {
        this.afterAbility = afterAbility;
    }

    public String getBeforeExp() {
        return beforeExp;
    }

    public void setBeforeExp(String beforeExp) {
        this.beforeExp = beforeExp;
    }

    public String getAfterExp() {
        return afterExp;
    }

    public void setAfterExp(String afterExp) {
        this.afterExp = afterExp;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }


    public String getPanData() {
        return panData;
    }

    public void setPanData(String panData) {
        this.panData = panData;
    }
}
